subnet beginning_add enning_add mask assignment 1 192.168.1.0 192.168.1.31 255.255.255.224 2 192.168.1.32 192.168.1.63 255.255.255.224 3 192.168.1.64 192.168.1.95 255.255.255.224 4 192.168.1.96 192.168.1.127 255.255.255.224 IT Department LAN subnet 5 192.168.1.128 192.168.1.143 255.255.255.240 6 192.168.1.144 192.168.1.159 255.255.255.240 Administration LAN subnet -------------------------------------------------------------------------------------- cavo console da RECEPTION HOST a IT DEPARTMENT SWITCH // // // OPERATOR HOST a TOWN HALL // // // IT HOST a ADMINISTRATION HOST -------------------------------------------------------------------------------------- OPERATOR HOST -> TERMINAL: >en #conf term #int g0/0 #ip add 192.168.1.126 255.255.255.224 #no sh #exit #int g0/1 #ip add 192.168.1.158 255.255.255.240 #no sh -------------------------------------------------------------------------------------- IT HOST -> TERMINAL: >en #conf term #int vlan 1 #ip add 192.168.1.157 255.255.255.240 #no sh -------------------------------------------------------------------------------------- RECEPTION HOST -> IP CONFIGURATION: IP: 192.168.1.98 SM: 255.255.255.224 DEFAULTI GATEWAY: 192.168.1.126 -------------------------------------------------------------------------------------- IT HOST -> IP CONFIGURATION: IP: 192.168.1.145 SM: 255.255.255.240 DEFAULT GATEWAY: 192.168.1.158 -------------------------------------------------------------------------------------- TFTP SERVER -> IP CONFIGURATION: IP: 192.168.1.146 SM: 255.255.255.240 DEFAULT GATEWAY: 192.168.1.158 -------------------------------------------------------------------------------------- OPERATOR HOST -> TERMINAL: #exit #host name Middle #enable secret cisco #line console 0 #password class #login #exit #security passwords min-length 10 #service password-encryption #ip domain-name cisco.com #crypto key generate rsa 1024 (invio) #username netadmin secret cisco_CCNA5 #line vty 0 4 #login local #transport input ssh #exit #ipv6 unicast-routing #int g0/0 #ipv6 add (indirizzo tabella)/64 #ipv6 add fe80::1 link-local #exit #int g0/1 #ipv6 add (indirizzo tabella)/64 #ipv6 add fe80::1 linl-local #exit #int g0/0 description To_IT_Department_Switch #exit #int g0/1 #description To_IT_Administration_Switch ------------------------------------------------------------------------------------ IT HOST -> TERMINAL: >en #conf term #line vty 0 4 #password class #login #exit #ip default-gateway 192.168.1.158 ------------------------------------------------------------------------------------ RECEPTION HOST -> IP CONFIGURATION: mettere ipv6 della tabella + gateway: fe80::1 (fare la stessa cosa per OPERATOR HOST, IT HOST e TFTP SERVER) ------------------------------------------------------------------------------------ Controllare se sta attivo il servizio TFTP al server: TFTP SERVER -> SERVICES -> TFTP ------------------------------------------------------------------------------------ OPERATO HOST -> TERMINAL: #exit #copy running-config tftp 192.168.1.146 (invio x2) #conf term #banner motd #welcome#